package com.bjpowernode.service.impl;

import com.bjpowernode.service.SomeService;
import com.bjpowernode.util.ServiceTools;
import org.springframework.stereotype.Service;

@Service("someService")
public class SomeServiceImpl implements SomeService {
    @Override
    public void doSome() {
        // ServiceTools.doLog();
        System.out.println("执行业务方法:doSome()");
        // 方法执行完毕,提交事务
        // ServiceTools.doTrans();
    }

    @Override
    public void doOther() {
        // ServiceTools.doLog();
        System.out.println("执行业务方法:doOther()");
        // 方法执行完毕,提交事务
        // ServiceTools.doTrans();
    }
}
